package com.study.quiz.utils;

import org.springframework.stereotype.Component;

/**
 * @author CJunGod
 * @create 2020-03-06 13:53
 **/
@Component
public class ErrorIndexUtil {

    private static String errorMesg;

    public void errorIndex(String errorMsg) {
        errorMesg = errorMsg;
    }

    public String getErrorMesg() {

        return errorMesg;
    }
}
